Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Sep 2010 18:47:29 +0000 (20:47 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Sep 2010 18:47:29 +0000 (20:47 +0200)
commit40286e6e783da6254e52fe0289bd78496f509ec0
tree2e8f7675c2fc4b8b00e58446610aa50657190e91
parentd2c82f98d443b66080aaf10cd8d5a9f4fff03839
Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
* lisp/textmodes/ispell.el (ispell-process-buffer-name): Remove.
(ispell-start-process): Avoid setq and simplify logic.
(ispell-init-process): Setup kill-buffer-hook locally when needed.
(kill-buffer-hook): Don't use it globally with code that uses
expand-file-name since that may call kill-buffer via
code_conversion_restore.
lisp/ChangeLog
lisp/textmodes/ispell.el